package com.chandra.pos.payment.service;

import com.chandra.pos.payment.model.PaymentFilter;
import com.chandra.pos.payment.model.PaymentList;
import com.chandra.pos.payment.model.PaymentModel;

import javax.persistence.EntityNotFoundException;

/**
 * Created by dnagarajan on 3/28/2015.
 */

public interface PaymentRole {


    public PaymentModel savePayment(PaymentModel paymentModel);


    public PaymentList search(PaymentFilter model);


    public PaymentModel getPaymentById(Long paymentId) throws EntityNotFoundException;
}
